//
//  CLDeviceInfo.h
//  toroBracelet
//
//  Created by 丁益 on 16/7/26.
//  Copyright © 2016年 celi. All rights reserved.
//  硬件(手环)信息

#import <Foundation/Foundation.h>

@interface CLDeviceInfo : NSObject

SingletonH(DeviceInfo)

@property (nonatomic, copy) NSString *deviceId;
/** 设备固件版本*/
@property (nonatomic, copy) NSString *deviceVersion;

/** 设备最后同步时间*/
@property (nonatomic, copy) NSString *deviceSyncTime;

/** 是否登录了硬件*/
@property (assign, nonatomic) BOOL isLoginDevice;

/** 闹钟*/
@property (nonatomic, strong) NSArray *alarmClockArray;

/** 手环类型*/
@property (nonatomic, strong) NSString *bandType;

/** care ID*/
@property (nonatomic, strong) NSString *careNumberId;

/** care 余额*/
@property (nonatomic, strong) NSString *careMoney;

/** 最后一次同步卡余额时间*/
@property (nonatomic, strong) NSString *lastSyncCareTime;


- (BOOL)setDeviceIdAndCache:(NSString *)deviceId;
- (BOOL)setDeviceVersionAndCache:(NSString *)deviceVersion;
- (BOOL)setAlarmClockAndCache:(NSArray *)alarmClockArray;
- (BOOL)setBandTypeAndCache:(NSString *)bandType;
- (BOOL)setCareNumberIdAndCache:(NSString *)careNumberId;
- (BOOL)setCareMoneyAndCache:(NSString *)careMoney;
- (BOOL)setLastSyncCareTimeAndCache:(NSString *)lastSyncCareTime;
- (BOOL)setDeviceSyncTimeAndCache:(NSString *)deviceSyncTime;
@end
